package com.netintech.intelligenceInterface.test;

/**
 * @author lining
 * @date 2021/5/6 13:53
 */
public class Main {
    public static void main(String[] args) {
        String a = "hmac api_key=\"testhls\", algorithm=\"hmac-sha256\", headers=\"host date request-line\", signature=\"qwTO9Lar+aXVRT7qs8031CmGur/TMUTtXULYREtDbSc=\"";
        System.out.println(a.indexOf("api_key=\""));
        System.out.println(a.indexOf("\", algorithm=\""));
        System.out.println(a.substring(5 +9 ,21));
    }
}
